
import request from '@/utils/request';

// 查询列表
export async function queryOuterFiles(params) {
  return request('/b/ftpsetting/queryPageList', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function addOuterFiles(params) {
  return request('/b/ftpsetting/add', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function removeOuterFiles(params) {
  return request('/b/ftpsetting/delete', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateOuterFiles(params) {
  return request('/b/ftpsetting/update', {
    method: 'POST',
    data: params,
  });
}

//测试连接
export async function connectTest(params) {
  return request('/b/ftpsetting/connectTest', {
    method: 'POST',
    data: params,
  });
}
// 语言编码
export async function queryUnicodeList(params) {
  return request('/s/datadict/queryListByTypeCode', {
    method: 'POST',
    data: params,
  });
}
